<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>用户管理</title>
    <link href="__PUBLIC__/bootstrap/css/bootstrap.min.css" rel="stylesheet">
    <script src="__PUBLIC__/bootstrap/js/jquery.min.js"></script>
    <script src="__PUBLIC__/bootstrap/js/bootstrap.min.js" type="text/javascript"></script>

</head>
<body>
<h1>用户管理界面</h1>
<div>
<table class="table table-bordered table-striped table-hover">
    <tr>
        <th class="col-sm-1">头像</th>
        <th class="col-sm-1">用户名</th>
        <th class="col-sm-1">真实姓名</th>
        <th class="col-sm-1">邮箱</th>
        <th class="col-sm-1">电话</th>
        <th class="col-sm-1">状态</th>
        <th class="col-sm-1">审核信息</th>
        <th class="col-sm-1">明星作者</th>
        <th class="col-sm-1">首页推荐</th>
        <th class="col-sm-1">操作</th>
    </tr>

    <!--可以接受$users变量-->
    <volist name ="users" id="vo">

        <tr>
            <td><img src="__PUBLIC__/Uploads/photo/{$vo.photo}" alt="图像不存在" width="100"></td>
            <!--__PUBLIC__表示public目录-->
            <td>{$vo.username}</td>
            <td>{$vo['realname']}</td>
            <td>{$vo.email}</td>
            <td>{$vo.tele}</td>
            <!-- 0代表禁用  1普通  2禁言-->
            <td>
                <if condition="$vo.state eq 0">禁用
                    <elseif condition="$vo.state eq 1"/>普通
                    <else/>禁言
                </if>
            </td>
            <td>{$vo.verifyinfo}</td>
            <!-- 0是  1否-->
            <td>
                <if condition="$vo.isstar eq 0">是
                    <else/>否
                </if>
            </td>
            <!-- 0是  1否-->
            <td>
                <if condition="$vo.isfirst eq 0">是
                    <else/>否
                </if>
            </td>
            <td>修改<br>
                删除<br>
                取消明星作者<br>
                取消首页推荐<br>
                禁用</td>
        </tr>
    </volist>
</table>

<div class="pagination " align="center">
    {$page}
</div>
</div>
'ROOT:'  __ROOT__<br>
'APP:'  __APP__<br>
'MOILE:'  __APP__<br>
'CONTROLLER:'  __CONTROLLER__<br>
'URL:'  __URL__<br>
'ACTION:'  __ACTION__<br>
'SELF:'  __SELF__<br>
'PUBLIC:'  __PUBLIC__


</body>
</html>